package com.ruoyi.activity.domain;

import com.alibaba.fastjson2.annotation.JSONField;
import com.alibaba.fastjson2.annotation.JSONType;
import org.springframework.stereotype.Component;

import java.util.Date;

@Component
public class InfoBean {
    @JSONField(ordinal = 1)
    public Date date;
    @JSONField(ordinal = 2)
    public String name;
    @JSONField(ordinal = 3)
    public Integer num;
    @JSONField(ordinal = 4)
    public String unit;
    @JSONField(ordinal = 5)
    public String remark;


    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "InfoBean{" +
                "date=" + date +
                ", name='" + name + '\'' +
                ", num=" + num +
                ", unit='" + unit + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}
